package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.SysNoticeType;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;
@Repository
public interface SysNoticeTypeMapper extends Mapper<SysNoticeType> {
	public void updateUserStatus(int status,int noticeId);

	//显示-分页
	List<SysNoticeType> getList(Map<String,Object> param);

	//获取编辑信息
	SysNoticeType getSingle(Integer id);

	SysNoticeType getNoticeTypeByNid(String nid);
}